package cn.action;

import com.opensymphony.xwork2.ActionSupport;

import java.util.Date;

public class DateAction extends ActionSupport {

    private Date date;

    @Override
    public String execute() throws Exception {
        System.out.println(date);
        return SUCCESS;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
